package com.oracle.cmp.entity;


import java.util.Date;

public class Parts {
    private Integer partsid;

    private String partsname;

    private String partsmodel;

    private String partsloc;

    private Date partsprodate;

    private String partsremark;
    private  int partsreqcount;

    public int getPartsreqcount() {
        return partsreqcount;
    }

    public void setPartsreqcount(int partsreqcount) {
        this.partsreqcount = partsreqcount;
    }

    public Integer getPartsid() {
        return partsid;
    }

    public void setPartsid(Integer partsid) {
        this.partsid = partsid;
    }

    public String getPartsname() {
        return partsname;
    }

    public void setPartsname(String partsname) {
        this.partsname = partsname == null ? null : partsname.trim();
    }

    public String getPartsmodel() {
        return partsmodel;
    }

    public void setPartsmodel(String partsmodel) {
        this.partsmodel = partsmodel == null ? null : partsmodel.trim();
    }

    public String getPartsloc() {
        return partsloc;
    }

    public void setPartsloc(String partsloc) {
        this.partsloc = partsloc == null ? null : partsloc.trim();
    }

    public Date getPartsprodate() {
        return partsprodate;
    }

    public void setPartsprodate(Date partsprodate) {
        this.partsprodate = partsprodate;
    }

    public String getPartsremark() {
        return partsremark;
    }

    public void setPartsremark(String partsremark) {
        this.partsremark = partsremark == null ? null : partsremark.trim();
    }

    @Override
    public String toString() {
        return "Parts{" +
                "partsid=" + partsid +
                ", partsname='" + partsname + '\'' +
                ", partsmodel='" + partsmodel + '\'' +
                ", partsloc='" + partsloc + '\'' +
                ", partsprodate=" + partsprodate +
                ", partsremark='" + partsremark + '\'' +
                ", partsreqcount=" + partsreqcount +
                '}';
    }
}